const api = require('./index.js');

// 获取权限用户列表
export const ajaxGetUserAppletRoleList = (params) => api.get('/user/getUserAppletRoleList', params)

// 搜索用户
export const ajaxGetK1UserInfoByParam = (params) => api.post('/user/getK1UserInfoByParam', params)

// 添加权限用户
export const ajaxAddPowerUser = (params) => api.post('/user/saveAppletUserRole', params)

// 删除权限用户
export const ajaxDeletePowerUser = (params) => api.post('/user/deleteAppletUserRole', params)

// 修改用户权限
export const ajaxModifyPowerUser = (params) => api.post('/user/updateAppletUserRole', params)